package com.net.xpay.common.manager;

import com.net.common.manager.DomainManager;
import com.net.xpay.common.domain.SafePayBusinessAuthAuditRecord;
import com.net.xpay.core.model.AdminSafePayBookAccountSearchModel;

import java.util.List;


public interface SafePayBusinessAuthAuditRecordManager extends DomainManager<Long,SafePayBusinessAuthAuditRecord> {
    SafePayBusinessAuthAuditRecord findBySafePayBookAccountId(Long id);

    List<SafePayBusinessAuthAuditRecord> search(AdminSafePayBookAccountSearchModel searchModel);

    long searchCount(AdminSafePayBookAccountSearchModel searchModel);

    List<SafePayBusinessAuthAuditRecord> list(AdminSafePayBookAccountSearchModel searchModel);

    SafePayBusinessAuthAuditRecord findById(Long userId, Long id);

    SafePayBusinessAuthAuditRecord findByBusinessName(Long userId, String businessName);
}
